package br.panthro.events
{
	import flash.events.Event;

	public class VideoEvent extends Event
	{
		public static const LOAD_ERROR:String = "VideoLoadError";
		public static const LOAD_COMPLETE:String = "VideoLoadComplete";
		public static const VIDEO_PLAYING:String = "VideoPlaying";
		public static const VIDEO_PAUSED:String = "VideoPaused";
		public static const VIDEO_STOPPED:String = "VideoStopped";
		public static const VIDEO_REWIND:String = "VideoRewind";
		public static const VIDEO_SEEK:String = "VideoSeek";
		
		public function VideoEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			return new VideoEvent(type, bubbles, cancelable);
		}
		
		public override function toString():String
		{
			return formatToString("VideoEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	}
}